package com.qf.exception;

import lombok.Data;

/**
 * 天--道--酬--勤
 *
 * @author LiangGaoQiang
 * @ClassName MyException
 * @Date: 2025/5/24 9:32
 * @Description: 描述
 */
@Data
public class MyException extends RuntimeException{
    private Integer code;
    private String message;

    public MyException(Integer code, String message) {
        super(message);
        this.code = code;
        this.message = message;
    }

    public MyException(String message) {
        super(message);
        this.message = message;
    }
}
